<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
	<f:view contentType="text/html" encoding="utf-8">
      <h:head/>
<h:body>

<p:tabMenu activeIndex="2">
    		<p:menuitem value="AreaPersonale" url="index.xhtml" icon="ui-icon-person" />
    	</p:tabMenu>
    <br/><br/>
    <p:panel header="HOTEL DA RIMUOVERE">
			<h:panelGrid columns="1" id="regGrid">
    <h:outputLabel>HID: #{hotelBean.current.hid}</h:outputLabel><br/>
    <h:outputLabel>Descrizione (NOME): #{hotelBean.current.descrizione}</h:outputLabel><br/>
    <h:outputLabel>Località: #{hotelBean.current.località}</h:outputLabel><br/>
    <h:outputLabel>Costo Per Giorno: #{hotelBean.current.costoPerGiorno}</h:outputLabel><br/>
    <h:outputLabel>Stelle: #{hotelBean.current.stelle}</h:outputLabel><br/>
    </h:panelGrid></p:panel>
    <h:form><br/>
    <p:commandButton value="Conferma Rimozione" action="#{hotelBean.remove()}"/>
    </h:form>
</h:body>
</f:view>	
</html>